package com.roc.dao;

import java.util.List;

import com.roc.page.BaseSearchCondition;

public interface IPagenitionDao {
    List<Object> findAll(BaseSearchCondition searchCondition,int startRow,int maxRow)throws DaoException;
	
	int count(BaseSearchCondition searchCondition)throws DaoException;
List<Object> findAllSql(BaseSearchCondition searchCondition,int startRow,int maxRow)throws DaoException;
	
	int countSql(BaseSearchCondition searchCondition)throws DaoException;
	
	public List<Object> findAllByParams(String sql,List<Object> params,
			int startRow, int maxRow) throws DaoException;
	
	public int countByParams(String sql,List<Object> params)
			throws DaoException;
	
}
